package com.bdzl.admin.dao.data;

import com.bdzl.pub.entity.data.VehBrandDO;
import com.bdzl.pub.vo.data.VehBrandVO;

import java.util.List;
import java.util.Map;

/**
 * 车辆品牌表
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-03-23 13:57:43
 */
public interface VehBrandDao {

	VehBrandDO get(Integer brandId);
	
	List<VehBrandDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(VehBrandDO vehBrand);
	
	int update(VehBrandDO vehBrand);
	
	int remove(Integer brand_id);
	
	int batchRemove(Integer[] brandIds);

	/**
	 * 获取VehBrandDO 和 UserDO连表内容
	 * @param map
	 * @return
	 */
	List<VehBrandVO> vBAndUserlist(Map<String, Object> map);

	int vBAndUserlistCount(Map<String, Object> map);


	int saveVO(List<VehBrandVO> list);
}
